import static org.junit.Assert.*;

import java.util.ArrayList;
import java.util.List;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;

public class TestDeck {

	Deck deck = null;

	@Before
	public void setUp() throws Exception {
		deck = new Deck();
	}

	@Test
	public void sizeTest() {
		int exp = 52;
		assertEquals(exp, deck.deckList.size()); // sprawdzam wilekosc listy

	}

	@Ignore 
	public void expValue() {
		// sprawdzam czy oczekiwana wartosc zgadza sie z rzeczywista
		Card k = new Card("spade", 1);
		List<Card> testList = new ArrayList<>();
		testList.add(k);
		assertEquals("Wystapila niezgodnosc wartosci: ", testList.get(0)
				.getValue(), deck.deckList.get(0).getValue());

	}

}
